# with open("data.csv",mode='r',encoding='utf-8') as f:
#    # context = f.read()
#    # print(context)
#    context =  f.readlines()
#    print(context)
import csv

with open("data.csv",mode='a',encoding='utf-8') as f:
     cf =  csv.writer(f)
     # cf.writerow(["tom","c","50"])

     list_csv = [["周杰伦","c++","20"],["林俊杰","python","30"],["李荣浩","c","100"]]
     cf.writerows(list_csv)